package com.wan.dao;

import com.wan.pojo.Role;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface RoleMapper {
    public List<Role> getRoleList(Map<String,Object> queryMap);
    public int getTotal(Map<String,Object> queryMap);
    public int add(Role role);
    public int edit(Role role);
    public int delete(Long id);
    public Role findById(Long id);
}
